package test;





import com.song.MVC.ResponseBody;
import com.song.MVC.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MVCtest1 {
    @ResponseBody("/login.do")
    public String test(HttpServletRequest request, HttpServletResponse response) {
        return "aklhfa";
    }
    @ResponseView("/reg.do")
    public String  test1(HttpServletRequest request, HttpServletResponse response) {
        return "success.jsp";
    }
}
